package com.example.leetcode.design.listener;

import com.example.leetcode.design.listener.basic.MyEventBus;

public class Test {


    public static void main(String[] args) {

        MyEventBus bus = new MyEventBus();
        bus.register(new RegisterAction());

        bus.post("张三");
    }



}
